package cn.hl.hm.dao;

import cn.hl.hm.entity.RechargeRecoard;
import cn.hl.hm.entity.RechargeRecoardDo;
import cn.hl.hm.vo.AccountCheckingVo;

import java.math.BigDecimal;
import java.util.List;

public interface RechargeRecoardMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(RechargeRecoard record);

    int insertSelective(RechargeRecoard record);

    RechargeRecoard selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(RechargeRecoard record);

    int updateByPrimaryKey(RechargeRecoard record);
    List<RechargeRecoard> selectRechargeRecoard(RechargeRecoard rechargeRecoard);
    
    int  selectRechargeRecoardNum(RechargeRecoard rechargeRecoard);
    
    List<RechargeRecoard> selectRechargeRecoardByUserPhone(RechargeRecoard recoard);
    List<RechargeRecoard> driverCashDetail(RechargeRecoard recoard);
    
    
    int selectRechargeRecoardCount(RechargeRecoard rechargeRecoard);

    List<RechargeRecoard> selectRechargeRecoardAss(RechargeRecoard rechargeRecoard);

	List<RechargeRecoard> selectSecurityList(RechargeRecoard rechargeRecoard);

	List<RechargeRecoardDo> selectSecurityAndRoadFeeList(RechargeRecoard rechargeRecoard);

	int selectSecurityListNum(RechargeRecoard rechargeRecoard);
	
	BigDecimal selectSumAmount(RechargeRecoard rechargeRecoard);

    List<AccountCheckingVo> selectForAccountChecking();
}